{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<body>
<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    
    财务管理
    <span class="c-gray en">&gt;</span>
    财务汇总
    <a class="btn btn-success radius r"
       style="line-height: 1.6em; margin-top: 3px"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="Hui-iconfont">&#xe68f;</i>
    </a>
</nav>


<div class="page-container  dataTables_wrapper">
    <div id="tab-system" class="HuiTab">
        <div class="tabCon">
            <div class="mt-20">
                <table
                        class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
                    <thead>
                    <tr class="text-c">
                        <th>ID</th>
                        <th>代理名称</th>
                        <th>返佣金额</th>
                        <th>来源下级</th>
                        <th>投注金额</th>
                        <th>返点数</th>
                        <th>彩种</th>
                        <th>期号</th>
                        <th>订单号</th>
                        <th>投注时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="query" id="item"}
                    <tr class="text-c">
                        <td>{$item.id}</td>
                        <td>{$item.agent}</td>
                        <td>{$item.balance?$item.balance:'0';}</td>
                        <td>{$item.consumer}</td>
                        <td>{$item.true_je}</td>
                        <td>{$item.fandian}</td>
                        <td>{$item.cp_name_new?$item.cp_name_new:$item.cp_name_old}</td>
                        <td>{$item.qihao}</td>
                        <td>{$item.ddid}</td>
                        <td>{$item.tz_time|date="Y-m-d H:i:m",###}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="dataTables_paginate paging_simple_numbers" style="width:100%;">
        <span style="float:right;margin-left:-2px;">总共{$query->lastPage()}页  当前第{$query->currentPage()}页 ，共{$query->total()}条</span>
        <div style="float:left;">{$query->render()}</div>
    </div>
</div>
{/block}

{block name="js"}
<script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript">
    $(function() {
        $('.skin-minimal input').iCheck({
            checkboxClass : 'icheckbox-blue',
            radioClass : 'iradio-blue',
            increaseArea : '20%'
        });
        $("#tab-system").Huitab({
            index : 0
        });
    });

</script>

{/block}
